//
//  WXNextWorking.h
//  qunfa
//
//  Created by Admin on 2017/8/18.
//  Copyright © 2017年 cuixiaocun. All rights reserved.
//

#import <Foundation/Foundation.h>
//添加代理
@protocol WXNextWorkingDelegate <NSObject>
-(void)returnTheERWEIMA:(NSString *)erweima;//右按钮
-(void)returnHeader:(UIImage *)erweima;
-(void)deleteHeader:(UIImage *)erweima;

@end

@interface WXNextWorking : NSObject
{
    NSMutableDictionary *userDIC;
//    NSMutableArray*messageArr;
    UIImage *_decodedImage;
    NSString *erweima;//二维码
    UIImageView*mainImgView;
    UIImageView *touImgV;
    NSMutableString *cookieValue ;
    
    //BaseRequest
    NSString *skey;
    NSString *sid;
    NSString *uin;
    NSString *pass_ticket;
    NSString*DEVICE;
    //cookieValue
    
    NSMutableArray *friendArr;// 好友数组
    NSString *selfName;
    NSString *toName;
    NSTimer  *timer;
    int timeNum;
    NSString *webwx_data_ticket;
    NSString *mediaId;
    
    NSString *_titleString;
    NSString *_iswxqqOrIswxqq2;//是新号还是旧号
    NSInteger numberImg;//img的总数
    NSInteger dijiciIMG;//第几次进入upimg
    NSInteger allNumberChange;
    NSMutableArray *currMessageArr;
    NSMutableArray *currFirendArr;
    NSInteger allNUMBER;
    
    NSMutableArray *MemberList;
    //    NSMutableArray *mediaArr;
    int  indexNum;//多线程
    dispatch_queue_t queue;//多线程
    UILabel *jinduLabel;
    NSString *seqString;//不等于0的时候重新加载
    NSString *isreturn;
    NSString *retString;//图片1205
    NSString *isPhoneHidden;//0为没显示  1为显示了
    
}
@property(nonatomic,strong)NSArray *pushArr;
@property(nonatomic,strong)NSArray *messageArr;
@property(nonatomic,assign)NSInteger indexInPeopleArr;

@property(nonatomic,retain)NSURLConnection *connection;
-(void)getErweima;

+(void)AFNetworkWaitForEWMAddView:(UIView *)view  success:(void (^)(id responseDic))success fail:(void (^)(NSError *error))fail;
@property(assign,nonatomic)id<WXNextWorkingDelegate>delegate;

@end
